<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Hello world!</title>
    <!-- zui -->
    <link href="{{ asset('zui/css/zui.min.css')  }}" rel="stylesheet">
    <link href="{{ asset('zui/css/zui-theme.css')  }}" rel="stylesheet">
    <link href="{{ asset('css/backend.css')  }}" rel="stylesheet">
    <link href="{{ asset('zui/lib/bootbox/bootbox.min.css')  }}" rel="stylesheet">


    <script src=" {{ asset('js/vue.js')  }} "></script>
    <script src=" {{ asset('vue/page.js')  }} "></script>
    <script src=" {{ asset('vue/datatable.js')  }} "></script>
    <script src=" {{ asset('vue/form.js')  }} "></script>
    <script>
        var CONFIG = function(){
            return {
                basePath:'<?=Request::getBasePath()?>' + '/backend'
            }
        }()

        //window.UEDITOR_HOME_URL = '{{ Request::getBasePath() }}/ueditor/server/' ;
    </script>
</head>
<body>

<nav class="navbar navbar-inverse ui-top" role="navigation" id="header">
    <div class="container-fluid">
        <!-- 导航头部 -->
        <div class="navbar-header">
            <!-- 移动设备上的导航切换按钮 -->
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-example">
                <span class="sr-only">切换导航</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <!-- 品牌名称或logo -->
            <a class="navbar-brand" href="your/nice/url">ZUI</a>
        </div>
        <!-- 导航项目 -->
        <div class="collapse navbar-collapse navbar-collapse-example pull-right">
            <!-- 一般导航项目 -->
            <ul class="nav navbar-nav">
                <li class="active"><a href=" {{ url('backend/logout')  }} ">注销</a></li>
                {{--<li><a href="your/nice/url">需求</a></li>--}}

                <!-- 导航中的下拉菜单 -->
                {{--<li class="dropdown">--}}
                    {{--<a href="your/nice/url" class="dropdown-toggle" data-toggle="dropdown">管理 <b class="caret"></b></a>--}}
                    {{--<ul class="dropdown-menu" role="menu">--}}
                        {{--<li><a href="your/nice/url">任务</a></li>--}}

                    {{--</ul>--}}
                {{--</li>--}}
            </ul>
        </div><!-- END .navbar-collapse -->
    </div>
</nav>



<div class="ui-menu" id="silder">
    <nav class="menu" data-ride="menu">
        {{--<button class="btn btn-primary"><i class="icon icon-edit"></i> CREATE</button>--}}
        {{--<button class="btn"><i class="icon icon-cloud-upload"></i> UPLOAD</button>--}}
        <ul class="nav nav-primary">
            <li  v-for="menu in menus" @click="menuClick(menu)" :class="{'nav-parent':menu.children,'active':menu.active}">
                <a :href="menu.hash"><i class="icon icon-th"></i>
                    @{{menu.title}}
                    <i v-if="menu.children" class="icon-chevron-right nav-parent-fold-icon"></i>
                </a>
                <ul class="nav" v-if="menu.children">
                    <li  :class="{'active':sub.active}" v-for="sub in menu.children" @click="menuClick(sub)"><a :href="sub.hash">@{{sub.title}}</a></li>
                </ul>
            </li>




            {{--<li><a href="javascript:;"><i class="icon icon-trash"></i> Trash</a></li>--}}
            {{--<li><a href="javascript:;"><i class="icon icon-list-ul"></i> All</a></li>--}}
            {{--<li class="active show nav-parent">--}}
                {{--<a href="javascript:;"><i class="icon icon-tasks"></i> Status</a>--}}
                {{--<ul class="nav">--}}
                    {{--<li><a href="javascript:;"><i class="icon icon-circle-blank"></i> Ready</a></li>--}}
                    {{--<li class="active"><a href="javascript:;"><i class="icon icon-play-sign"></i> Ongoing</a></li>--}}
                    {{--<li><a href="javascript:;"><i class="icon icon-ok-sign"></i> Completed</a></li>--}}
                {{--</ul>--}}
            {{--</li>--}}
        </ul>
    </nav>
</div>

<div class="ui-main">
    <ol class="breadcrumb" id="breadcrumb">
        <li>@{{ breadcrumb }}</li>
    </ol>
    <div id="content" class="ui-content"></div>
</div>

<script src=" {{ asset('js/jquery-1.11.0.min.js') }} "></script>
<script src=" {{ asset('js/purl.js') }} "></script>
<!-- ZUI Javascript组件 -->
<script src=" {{ asset('zui/js/zui.min.js')  }} "></script>
<script src=" {{ asset('zui/lib/bootbox/bootbox.min.js')  }} "></script>
<script src=" {{ asset('js/fd-router.js')  }} " ></script>
<script src=" {{ asset('js/helper.js') }} "></script>
<script src=" {{ asset('js/backend.js') }} "></script>


<link href="{{ asset('zui/lib/chosen/chosen.min.css')  }}" rel="stylesheet">
<script src="{{ asset('zui/lib/chosen/chosen.min.js')  }}"></script>
<script>
    Loader.load();
</script>
@include('vendor.ueditor.assets')

@yield('script')
</body>
</html>